package com.coffee.wakeagent;
public class WakeAgent{  

 public static void main(String[] args){
	start(args);
 }
 public static void start(String [] args){
	 MulticastUtil lSend;
	 try {
//	System.out.println("===========os.name:"+System.getProperties().getProperty("os.name")); 
		 lSend=new MulticastUtil();
		 lSend.join();     //加入组播，并创建线程侦听
		 lSend.returnHeartBeat();    //广播上线信息
	 } catch (Exception e) {
		 e.printStackTrace();
	 }
 }
 public static void stop(String [] args){
	System.exit(-1);
 }
}